<template>
  <div class="kaoshi">


    <el-form ref="form" label-width="200px" label-position="top">

      <el-form-item>
        <el-button @click="cancel">返 回</el-button>
      </el-form-item>

      <el-form-item label="报名登记表">
        <el-row justify="center" style="width: 100%;">
          <el-col :span="24" >
            <a style="color: blue; text-decoration: underline;" @click="handleDownload('gongyinglian')">供应链协会登记表</a>
          </el-col>

          <el-col :span="24" >
            <a style="color: blue; text-decoration: underline;" @click="handleDownload('wuliu')">物流协会登记表</a>
          </el-col>
        </el-row>



      </el-form-item>


      <el-form-item label="工龄报名附加文件">
        <el-row justify="center" style="width: 100%;">
          <el-col :span="24" >
            <a style="color: blue; text-decoration: underline;" @click="handleDownload('chengnuoshu')">工作年限承诺书</a>
          </el-col>

          <el-col :span="24" >
            <a style="color: blue; text-decoration: underline;" @click="handleDownload('zhengming')">工作证明</a>
          </el-col>
        </el-row>
      </el-form-item>

    </el-form>


  </div>
</template>

<script>

export default {
  name: "Download",
  data() {
    return {
      // 版本号
      imageUrl: ''
    }
  },
  created() {
  },
  methods: {
    handleDownload(type) {
        this.download('weChat/h5/download', {name: type}, `材料_${new Date().getTime()}.pdf`)
    },
    // 取消按钮
    cancel() {
      this.$router.push({path: "/kaoshi/shouye"}).catch(() => {
      })
    },
  }
}
</script>

<style scoped lang="scss">
.kaoshi {
  margin: auto;
  width: 90vw;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

::v-deep .el-form-item__label{
  font-size: 18px;
}


</style>

